package cn.declare.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * Author
 * 潘红阳
 */
@Component
public class Appealreporting {

  private long appealreportingId;//诉求id
  private long userId;//企业id
  private long appealtypeId;//诉求类型id
  private String appealthemeName;//诉求主题
  private String appealcontent;//诉求内容
  private long urgency;//紧急程度
  @JsonFormat(pattern = "yyyy-MM-dd")
  private Date appealDate;//提交日期
  private long saveStatus;//保存状态 1为草稿，2直接提交
  private long completestatus;//处理状态 1为待处理，2为处理中，3为已完结
  private long tradeId;//行业id
  private int rejectid;//是否被退回
  private String rejectcontent;//退回原因

  public int getRejectid() {
    return rejectid;
  }

  public void setRejectid(int rejectid) {
    this.rejectid = rejectid;
  }

  public String getRejectcontent() {
    return rejectcontent;
  }

  public void setRejectcontent(String rejectcontent) {
    this.rejectcontent = rejectcontent;
  }

  public long getTradeId() {
    return tradeId;
  }

  public void setTradeId(long tradeId) {
    this.tradeId = tradeId;
  }

  public long getAppealreportingId() {
    return appealreportingId;
  }

  public void setAppealreportingId(long appealreportingId) {
    this.appealreportingId = appealreportingId;
  }


  public long getUserId() {
    return userId;
  }

  public void setUserId(long userId) {
    this.userId = userId;
  }


  public long getAppealtypeId() {
    return appealtypeId;
  }

  public void setAppealtypeId(long appealtypeId) {
    this.appealtypeId = appealtypeId;
  }


  public String getAppealthemeName() {
    return appealthemeName;
  }

  public void setAppealthemeName(String appealthemeName) {
    this.appealthemeName = appealthemeName;
  }


  public String getAppealcontent() {
    return appealcontent;
  }

  public void setAppealcontent(String appealcontent) {
    this.appealcontent = appealcontent;
  }


  public long getUrgency() {
    return urgency;
  }

  public void setUrgency(long urgency) {
    this.urgency = urgency;
  }

  public Date getAppealDate() {
    return appealDate;
  }

  public void setAppealDate(Date appealDate) {
    this.appealDate = appealDate;
  }

  public long getSaveStatus() {
    return saveStatus;
  }

  public void setSaveStatus(long saveStatus) {
    this.saveStatus = saveStatus;
  }


  public long getCompletestatus() {
    return completestatus;
  }

  public void setCompletestatus(long completestatus) {
    this.completestatus = completestatus;
  }

}
